package com.hwd.gmall.common.constant;

/**
 * 商品后台管理模块的常量类
 *
 * @author 黄伟东/Victor
 * @date 2022/4/20 15:13
 */
public class ProductConst {

    /**
     * sku上架状态
     */
    public static final Short SKU_ON_SALE = 1;

    /**
     * sku下架状态
     */
    public static final Short SKU_CANCEL_SALE = 0;

    /** sku的交换机 */
    public static final String SKU_EXCHANGE = "sku_exchange";

    /** sku上架的消息队列 */
    public static final String SKU_UPPER_QUEUE = "sku_upper_queue";

    /** sku下架的消息队列 */
    public static final String SKU_DOWN_QUEUE = "sku_down_queue";

    /** sku上架的routingKey */
    public static final String SKU_UPPER_ROUTING_KEY = "sku.upper";

    /** sku下架的routingKey */
    public static final String SKU_DOWN_ROUTING_KEY = "sku.down";
}
